<div class="row">
    <div class="col-xs-12">
        <div class="box">
            <div class="box-header">
                <div class="box-name">
                    <i class="fa fa-table"></i>
                    <span>账户管理</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span><a href="<{u('Dev/SysUser/add')}>" class="ajax-link">添加账号</a></span>
                </div>
                <div class="box-icons">
                    <a class="collapse-link">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                    <a class="expand-link">
                        <i class="fa fa-expand"></i>
                    </a>
                    <a class="close-link">
                        <i class="fa fa-times"></i>
                    </a>
                </div>
                <div class="no-move"></div>
            </div>
            <div class="box-content no-padding">
                <table class="table table-striped table-bordered table-hover table-heading no-border-bottom">
                    <thead>
                    <tr>
                        <th class="pct10">编号</th>
                        <th class="pct10">用户名</th>
                        <th class="pct10">登陆账号</th>
                        <th class="pct10">角色权限</th>
                        <th class="pct10">启用状态</th>
                        <th class="pct10 last-col">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <{include file="SysUser/index_list.html"}>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<script>
    function nodeDelete(id,obj) {
        if(!confirm('您确认要删除此数据吗?删除后数据不能恢复!')){
            return false;
        }
        $.post("<{u('Dev/SysUser/delete')}>",{id:id},function(res){
            layer.alert(res.msg)
            if(res.status==0){
                $(obj).parents('tr').empty();
            }
        });
    }
</script>